package com.example.leetdemo.process;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class Solution2280 {

    public int minimumLines(int[][] stockPrices) {
        List<BigDecimal> rates = new ArrayList<>();
        long[] left = { stockPrices[0][0], stockPrices[0][1] };
        long[] right = { stockPrices[1][0], stockPrices[1][1] };
        rates.add( BigDecimal.valueOf(right[1] - left[1]).divide(BigDecimal.valueOf(right[0] - left[0])));
        for (int i = 1; i < stockPrices.length; i++) {
//            left[0] = rates[1]
        }
        return 0;
    }

    public static void main(String[] args) {
        float a = 10, b = 3;
        System.err.println( BigDecimal.valueOf(b).divide(BigDecimal.valueOf(a)));
    }
}
